#include <AT89x52.h>
void port2_open()
{
 P2=0x0;
}
void port2_close()
{
 P2=0xff;
}
void Delay()
{
 unsigned int a;
 for(a=60000;a>0;a--);
}
